colorAdminApp.controller('loginController',function($cookieStore,$scope,$rootScope,$http,$state,loginService) {
	$rootScope.pageTitle="用户登录";
	$scope.username="";
	$scope.password="";
	$scope.message="";
	$scope.showMessage=false;
	$scope.login=function(){
		$scope.showMessage=false;
		loginService.login($cookieStore,$rootScope,$scope,$http,$state);
	};
});

